package service

import (
	"github.com/zhengchalei/gadmin/framework"
	"github.com/zhengchalei/gadmin/project/system/model"
)

func FindDeptAll() *[]model.SysDept {
	var deptAll []model.SysDept
	framework.DB.Order("ID DESC").Find(&deptAll)
	return &deptAll
}
